package com.twang.stock.dto;

import com.twang.stock.Entity.ShiShiData;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
import java.util.List;

@Data
public class StockMinutesMessage implements Serializable {

    public static String TYPE_MINUTES="minutes";
    public static String TYPE_MINUTES_FIX="minutesFix";
    public static String TYPE_MINUTES_CHENG_JIAO_E ="chengJiaoE";
    public static String TYPE_MINUTES_ZUO_T ="Zuo_T";//做T
    public static String TYPE_MINUTES_INDEX_INFO ="TYPE_MINUTES_INDEX_INFO";//主页更新-1分钟一次
    public static String TYPE_ZHANG_TING_JU_JIAO="type_zhang_ting_ju_jiao";//涨停聚焦
    public static String TYPE_ONE_MINUTES_CJE_WARN="TYPE_ONE_MINUTES_CJE_WARN";//1分钟成交额1000万，涨幅大于2
    public static String TYPE_60_DAY_MAX_VOL_UPDATE="TYPE_60_DAY_MAX_VOL_UPDATE";//60天最大成交量update
    public static String TYPE_ZHANG_TING_BAN_LIAN_BAN="TYPE_ZHANG_TING_BAN_LIAN_BAN";//涨停板连扳数据
    public static String TYPE_ZI_JING_JIN_E="TYPE_ZI_JING_JIN_E";//开盘啦资金净额
    public static String TYPE_BAN_KUAI_JIN_E="TYPE_BAN_KUAI_JIN_E";//开盘啦bankuai
    public static String TYPE_WARN_WEI_PAN_JIAN_QIAN="TYPE_WARN_WEI_PAN_JIAN_QIAN";//尾盘买，开盘卖）
    public static String TYPE_INSERT_MINUTES_DB="TYPE_INSERT_MINUTES_DB";//入库DB削峰

    public static String TYPE_INSERT_GOODS_LIST="TYPE_INSERT_GOODS_LIST";//生成商品列表

    public static String TYPE_ITEM_HOME_PAGE="TYPE_ITEM_HOME_PAGE";//主页






    /**
     * 类型：minutes-分时处理，minutesFix-数据修复
     */
    private String type;
    /**
     *code
     */
    private String code;

    /**
     *分时
     */
    private String minutes;

    /**
     * 日期
     */
    private String date;


    /**
     *数据
     */
    private List<ShiShiData> dataList;

    /**
     * 数据
     */
    private Object  data;


}
